package com.jidu.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jidu.common.annotation.Excel;
import com.jidu.common.core.domain.BaseEntity;

/**
 * 课程对象 sys_course
 * 
 * @author ruoyi
 * @date 2024-07-19
 */
@ApiModel(value = "SysCourse",description = "课程对象")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("sys_course")
@Data
public class SysCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 课程名称 */
    @Excel(name = "课程名称")
    @ApiModelProperty(value = "课程名称")
    private String name;

    /** 总课时 */
    @Excel(name = "总课时")
    @ApiModelProperty(value = "总课时")
    private Integer total;

    /** 课程价格 */
    @Excel(name = "课程价格")
    @ApiModelProperty(value = "课程价格")
    private BigDecimal price;

    /** 课程开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "课程开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "课程开始时间")
    private Date startTime;

    /** 课程结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "课程结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "课程结束时间")
    private Date endTime;

    /** 0启动，1禁用 */
    @Excel(name = "0启动，1禁用")
    @ApiModelProperty(value = "0启动，1禁用")
    private String state;

    /** 删除标志（0正常，1删除） */
    private String delFlag;

    /** 门店id */
    @Excel(name = "门店id")
    @ApiModelProperty(value = "门店id")
    private Long orgId;

}
